﻿using Basic.FormRemoteModel;
using Basic.FormRemoteModel.PageLayout.Model;
using SqlSugar;

namespace Basic.FormModel.DB
{
    [SugarTable("CustomPageLayout")]
    public class DBCustomPageLayout
    {
        [SugarColumn(IsPrimaryKey = true)]
        public long Id { get; set; }

        public long PageId { get; set; }

        public long ParentId { get; set; }

        public long ControlId { get; set; }

        public string Code { get; set; }

        public string Name { get; set; }

        public byte WidthRatio { get; set; }

        public byte HeightGrid { get; set; }

        public PageControlType ControlType { get; set; }

        public short Sort { get; set; }

        [SugarColumn(IsJson = true)]
        public PageControlConfig ControlConfig { get; set; }

        public string Show { get; set; }
    }
}
